package com.bigfish.gbs.enums;

/**
 * @Author Joycessh
 * @Description 订单状态
 * @Date 12/24/18 11:45 PM
 */
public enum OrderStatusEnum {
    CANCELLED(0, "已取消"),
    UNPAID(10, "未付款"),
    PAID(20, "已付款"),
    SHIPPED(40, "已发货"),
    TRADE_SUCCESS(50, "交易成功"),
    TRADE_FAILED(60, "交易关闭")
    ;
    private Integer code;

    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
